package jnpf.model.ragFlow.file;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel("文档列表响应")
public class DocumentListResponse {
    @ApiModelProperty(value = "响应码", notes = "0表示成功")
    private Integer code;

    @ApiModelProperty(value = "错误消息")
    private String message;

    @ApiModelProperty(value = "文档列表")
    private List<Document> data;

    @ApiModelProperty(value = "总记录数")
    private Long total;
}
